package com.zmx.service;

import com.zmx.utils.RUtils;
import com.zmx.entity.SysMenu;

import java.util.List;
import java.util.Set;

/**
 * 2020/10/20
 * 10:10
 * zmx
 */
public interface SysMenuService {
    List<SysMenu> finAllMenu(long userId,long parentId,int type);
    Set<String> finPermsByUid(long userId);
    RUtils findMenuByPage(Integer limit,Integer offset,String search,String order);
    /*添加菜单*/
    RUtils findAllTree();
    RUtils saveMenu(SysMenu sysMenu);
    RUtils deleteFake(List<Long> ids);
    RUtils selectByMenuId(long id);
    RUtils updateMenu(SysMenu sysMenu);
}
